package com.bci.pwtz.admin.service;

import java.util.List;

import com.bci.pwtz.exception.PwtzDatabaseException;
import com.bci.pwtz.mysql.model.ResourceType;

public interface ResourceTypeService {

   int deleteByPrimaryKey(int id)throws PwtzDatabaseException;
	
	int deleteById(int id)throws PwtzDatabaseException;

    int insert(ResourceType resType)throws PwtzDatabaseException;

    ResourceType load(int id)throws PwtzDatabaseException;

    int updateByPrimaryKey(ResourceType resType)throws PwtzDatabaseException;
	
    List<ResourceType> selectRestypeList()throws PwtzDatabaseException;
    
    List<ResourceType> selectjjfa()throws PwtzDatabaseException;
}
